caae0a6bebc9f7753329eb777f6c8f6accd3729f,community/server/src/webtest/java/org/neo4j/server/webadmin/steps/WebadminSteps.java,WebadminSteps,iTypeIntoElementByXpath,#String#String#,48
Before Change
@When("^I type (.+) into the element found by the xpath (.+)$")
public void iTypeIntoElementByXpath(String toType, String xPath) {
d.findElement( By.xpath( xPath ) ).sendKeys( toType );
}
@When("^I look at the root server page with a web browser$")
After Change
}
@When("^I type (.+) into the element found by the xpath (.+)$")
public void iTypeIntoElementByXpath(String toType, String xPath) {
ElementReference el = wl.getElement( By.xpath( xPath ) );
wl.clearInput( el );
el.sendKeys( toType );
}
@When("^I look at the root server page with a web browser$")